package com.sname.car.security.SpringSecurity;

import org.springframework.security.core.AuthenticationException;
import org.springframework.security.web.AuthenticationEntryPoint;

import javax.servlet.ServletException;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import java.io.IOException;

/**
 * Created By  醉美柳舞之众星捧月
 *
 * @author songx
 * @date 2018/9/28 14:39
 */
public class RestAuthenticationEntryPoint implements AuthenticationEntryPoint {
    /**
     * Author song  醉美柳舞之众星捧月
     * Date & Time  2018/9/28 14:39
     * Description  配置第四步 统一异常处理！
     */
    @Override
    public void commence(HttpServletRequest httpServletRequest, HttpServletResponse httpServletResponse, AuthenticationException e) throws IOException, ServletException {

    }
}
